MoveDirectory

Moves or renames a directory.

Syntax

MoveDirectory("SourcePath", "DestinationPath")

Arguments

Argument Description
SourcePath Full path to the directory to move. See Identifying files and directories in statements for information about configuring full paths relative to the workspace or script directory.
DestinationPath Full path to move the directory to. To rename the directory, enter the new name in the destination path. See Identifying files and directories in statements for information about configuring full paths relative to the workspace or script directory.

Example

MoveDirectory("C:\\Testing\\TestDocuments", "C:\\Testing\\Data")